<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2021/1/14
  Time: 2:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改密码</title>
    <script src="../element/vue.js"></script>
    <link rel="stylesheet" href="../element/index.css">
    <script src="../element/index.js"></script>
    <link rel="stylesheet" type="text/css" href="../styles/basc.css">
</head>
<body>
<div id="app">
    <%@ include file="../includes/hear.jsp" %>
    <div style="float: left;width: 200px;">
        <%@ include file="../includes/menu.jsp" %>
    </div>
    <div style="float: left;width: 1080px;">
        <div class="operation" style="margin-left: 10px;padding-top: 10px;width: 800px;">验证修改信息↓：<span class="mess" id="supueMess">${sessionScope.supueMess}</span></div>
        <div style="margin-left: 30px;margin-top: 20px;">
            <el-input v-model="pass" placeholder="新密码" style="width: 150px;" type="password" show-password></el-input>
            <el-input v-model="pass1" placeholder="确认密码" style="width: 150px;" type="password" show-password></el-input>
            <el-button type="primary" plain style="width: 80px;" @click="xg()">修改</el-button>
        </div>
    </div>
</div>
</body>
<script>
    new Vue({
        el:'#app',
        data:{
            pass:"",
            pass1:""
        },
        methods:{
            xg(){
                var log = {
                    pass:this.pass,
                    pass1:this.pass1
                }
                window.location.href="${webroot}/system/pass.do?&c=" + JSON.stringify(log)
            }
        }
    })
</script>
</html>
